package gof.com.yew.builder;

public class BuilderDemo01 {
	
	public static void main(String[] args) {

		MealBuilder builder = new DiscountMealBuilder();
		McDonaldMeal meal = builder.produceBacon("A").produceChicken("A", 2).build();
		System.out.println(meal.toString());
		meal = builder.produceBacon("A").produceChicken("B", 5).produceCoCoCoLe("C", "A").build();
		System.out.println(meal.toString());
	}

}
